package basis.inner;

public class Outer {
    private int state = 2;
    private String s = "Hello";

    public void setState(int state) {
        this.state = state;
    }

    class Inner {
        public void testOuter() {
            System.out.println(Outer.this.state);
            System.out.println(Outer.this.s);
        }
    }

    public static void main(String[] args) {
        Outer outer = new Outer();
        outer.setState(10);
        Inner inner = outer.new Inner();
        inner.testOuter();
    }
}
